local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.BaseComponent());



function M.new(self,...)
	return M(self,...);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);

    -- self.Foward=self.parent:WaitForChild("Img.1")
    -- self.Back=self.parent:WaitForChild("Img.2")
 
    -- local bId=self.parent.Battle:GetId()

    -- local rid= self.parent:WaitForChild("Img.img."..bId)

    -- if rid and rid.Value and rid.Value~="" then
    --     self:FullBg(rid.Value)
    -- end
end;


function M.FullBg(self,rid)
    self.Foward.Texture=rid
    self.Back.Texture=rid
end



function M.dtor(self)
	M.super.dtor(self);
end



return M